package com.yehaikeji.workflow.mapper;

import java.util.List;
import java.util.Map;

import com.yehaikeji.workflow.bean.SmsOperation;

public interface SmsOperationMapper {
    int deleteByPrimaryKey(String id);

    int insert(SmsOperation record);

    int insertSelective(SmsOperation record);

    SmsOperation selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(SmsOperation record);

    int updateByPrimaryKey(SmsOperation record);
    
    public List<SmsOperation> selectByPhone(Map<String,String> paramMap);
    
    public int updateStatusBySendId(Map<String,String> paramMap);
    
    public List<String> selectLastThingIdByPhone(String phone);
}